
  <div class="debate">
    <a name="comments"><b><%= t("comments") %> - <%= model.comments.approved.count %> (<%= t("waiting_for_approval") %>: <%= model.comments.awaiting_approval.count %>)</b></a>

    <% model.comments.approved.each do |comment| %>
      <div class="comment depth<%= comment.ancestry_depth %>">

	<div class="comment_header">
	  <a name="<%= comment.id %>">
      <% if comment.user.blank? %>
  	    <%= image_tag small_avatar_url("anonymous") %>
   	  <% else %>
  	    <%= image_tag(small_avatar_url(comment.user.email)) %>
  	  <% end %>

	    <%= t("posted_on") %> <%= comment.created_at %>, <%= t("by") %>
	    <% if comment.user.blank? %>
	      <%= comment.author %></a>
	    <% else %>
	      <%= comment.user.email %>
	      <% if user_signed_in? %>
		<%= link_to t("edit_comment"), edit_comment_path(comment) %>
	      <% end %>
	    <% end %>
	  </a>
	</div>

	<div class="comment_body">
	  
	  <%= comment.content %>
	</div>
  <div style="clear: both"></div>
	<div class="comment_footer">
	  <% if comment.created_at != comment.updated_at %>
	    <%= t("last_modified") %> <%= comment.updated_at %>
	  <% end %>   
	</div>
      </div>
    <% end %>
  </div>
